<?php

namespace app\common\order\validate;

use think\Validate;

class OrderFourValidate extends Validate
{
    protected $rule = [
        'category_id' => ['require'],
        'supplier_id' => ['require'],
        'product_id' => ['require'],
        'price' => ['require'],
    ];

    protected $message = [
        'category_id.require' => '请选择分类',
        'supplier_id.require' => '请选择供应商',
        'product_id.require' => '请选择商品',
        'price.require' => '请填写价格',
    ];

}